package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.DispatchEnergyConsumptionRecords;

/**
 * 能耗记录Service接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface IDispatchEnergyConsumptionRecordsService 
{
    /**
     * 查询能耗记录
     * 
     * @param energyConsumptionRecordsId 能耗记录主键
     * @return 能耗记录
     */
    public DispatchEnergyConsumptionRecords selectDispatchEnergyConsumptionRecordsByEnergyConsumptionRecordsId(Long energyConsumptionRecordsId);

    /**
     * 查询能耗记录列表
     * 
     * @param dispatchEnergyConsumptionRecords 能耗记录
     * @return 能耗记录集合
     */
    public List<DispatchEnergyConsumptionRecords> selectDispatchEnergyConsumptionRecordsList(DispatchEnergyConsumptionRecords dispatchEnergyConsumptionRecords);

    /**
     * 新增能耗记录
     * 
     * @param dispatchEnergyConsumptionRecords 能耗记录
     * @return 结果
     */
    public int insertDispatchEnergyConsumptionRecords(DispatchEnergyConsumptionRecords dispatchEnergyConsumptionRecords);

    /**
     * 修改能耗记录
     * 
     * @param dispatchEnergyConsumptionRecords 能耗记录
     * @return 结果
     */
    public int updateDispatchEnergyConsumptionRecords(DispatchEnergyConsumptionRecords dispatchEnergyConsumptionRecords);

    /**
     * 批量删除能耗记录
     * 
     * @param energyConsumptionRecordsIds 需要删除的能耗记录主键集合
     * @return 结果
     */
    public int deleteDispatchEnergyConsumptionRecordsByEnergyConsumptionRecordsIds(Long[] energyConsumptionRecordsIds);

    /**
     * 删除能耗记录信息
     * 
     * @param energyConsumptionRecordsId 能耗记录主键
     * @return 结果
     */
    public int deleteDispatchEnergyConsumptionRecordsByEnergyConsumptionRecordsId(Long energyConsumptionRecordsId);
}
